package tgc.edu.tms.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import tgc.edu.tms.custom.BaseEntity;

/**
 * 
 * 月工作统计表
 *
 */
@Entity
public class Count extends BaseEntity<Integer> {

	private String time;//月份
	private Teacher teacher;// 教师
	private Integer mthcop;// 月折合总学时
	private double mth;// 月总学时
	
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@ManyToOne
	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Integer getMthcop() {
		return mthcop;
	}

	public void setMthcop(Integer mthcop) {
		this.mthcop = mthcop;
	}

	public double getMth() {
		return mth;
	}

	public void setMth(double mth) {
		this.mth = mth;
	}

}
